<script setup lang="ts">
import MenuComponent from "@/components/common/menu/index.vue";
import HeaderComponent from "@/components/common/header/index.vue";
</script>

<template>
  <el-container class="wrap">
    <menu-component class="wrap-menu"></menu-component>
    <el-container class="wrap-container">
      <el-header class="wrap-container-header">
        <header-component></header-component>
      </el-header>
      <el-main class="wrap-container-main">
        <el-card class="wrap-container-main__card">
          <router-view></router-view>
        </el-card>
      </el-main>
    </el-container>
  </el-container>
</template>

<style lang="scss" scoped>
.wrap {
  &-menu {
  }
  &-container {
    &-header {
      height: auto;
    }
    &-main {
      &__card {
        height: 100%;
        overflow: auto;
      }
    }
  }
}
</style>
